/**
 * Created by Administrator on 2018/8/19.
 */
var pathName = window.location.pathname.substring(1);
var webName = pathName == '' ? '' : pathName.substring(0, pathName.indexOf('/'));
var basePath = window.location.protocol + '//' + window.location.host + '/' + webName;

$(".webSource").click(function click(){
    var value = this.title;
    $("#beanForm").attr('action', basePath + "/changeSource/" + value);
    $("#beanForm").submit();
});